/*
 * 评论相关
 */
 @import 'color.less';

.feedback_area_title{
  display: none;
}
  
#blog-comments-placeholder{
  padding: 0 16px;
}

//评论项
.feedbackItem{
  clear: both;
  padding: 20px 8px 30px;
  border-bottom: 1px solid #eee;
  overflow: hidden;


  .feedbackListSubtitle{
    position: relative;
  }

  //评论内容
  .feedbackCon{
    padding: 16px 2px;
  }
  //评论操作
  .feedbackManage{
    float: right;
    line-height: 50px;
    
    .blog_comment_body{
      margin-top: 32px;
      font-size: 16px;
      color: @TextColor;
    }
  }
  //发送站内短消息
  .sendMsg2This{
    background-image: url(./imgs/o_letter.png) !important;
    text-decoration: none !important;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    display: none;
  }
  //评论日期
  .comment_date{
    margin-top: 30px;
    margin-left: 8px;
    display: inline-block;
    font-size: 12px;

    &::after{
      content: '';
      width: 10px;
      height: 16px;
      display: inline-block;
      position: absolute;
      background: #fff;
      top: 29px;
    }
  }
  //评论名
  .comment_name{
    position: absolute;
    left: 58px;
    top: 4px;
  }
  //评论头像
  .comment_face{
    background-repeat: no-repeat;
    display: block;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    float: left;
  }
  .comment_actions>a{
    text-decoration: none;
    margin: 0 8px;
    border: 1px solid;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    
    &:last-child{
      color: #f44;
      padding-right: 8px;
    }
  }
}
//引用评论
.comment_quote{
  border-color: #eee;
  border-radius: 4px;
  margin-top: 16px;
  padding: 8px 8px 16px 8px;
}

.comment_date{
  color: #ccc;
  font-size: 14px;
}
//评论点赞
.comment_vote{
  margin-top: 32px;
  float: right;
  
  &>a{
    display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    margin: 0 8px;
    line-height: 16px;

    &::before{
      content: "";
      display: inline-block;
      width: 24px;
      height: 16px;
      vertical-align: middle;
      position: absolute;
      background-color: #fff;
      background-repeat: no-repeat;
    }
    &.comment_digg::before{
      background-image: url(./imgs/o_thumb_up.png);
    }
    &.comment_burry::before{
      background-image: url(./imgs/o_thumb_down.png);
    }
  }
}
//评论组件
#comment_form_container{
  padding: 0 24px;
  margin-top: 24px;
}
div.commentform textarea.comment_textarea{
  width: 100%;
  resize: none;
  height: 250px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 16px;
  box-sizing: border-box;
  background-image: url(./imgs/o_pangding2.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  box-shadow: 0px 0px 12px #ddd inset;
  overflow: auto;
}
    
#commentbox_opt{
  text-align: right;
  
  //提交评论
  .comment_btn{
    background: #fff;
    border: 1px solid;
    border-radius: 4px;
    color: @ThemeColor;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 18px;
  }
  .comment_btn:hover{
    color: @BtnHover;
  }
  //隐藏退出登陆
  &>a{
    display:none;
  }
}
.commentbox_title_left{
  float: left;
}
.commentbox_title_right{
  float: right;

  &>img{
    cursor: pointer;
  }
}
//隐藏掉多余的评论样式
#tip_comment{
  display: none;
}

//发送中的评论样式
.comment_my_posted{
  padding: 24px;

  .bq_post_comment{
    border: 1px solid #eee;
    border-radius: 4px;
  }
}
//标题‘发送评论’
#commentform_title{
  background-position-y: 3px;
}
.commentbox_title{
  width: 100%;
}
div.commentform input.author{
  background-position: 3px -1px;
}
//评论人
#tbCommentAuthor{
  background-color: #fff;
  border: 1px solid #fff;
  font-size: 16px;
  color: #ccc;
  width: 200px;
}

//隐藏刷新按钮
#comment_nav{
  display:none;
}
//隐藏Ctrl+enter的提示
#tip_comment2+p{
  display: none;
}
  